package com.byxy.demo01.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.byxy.demo01.dao.ForumDao;
import com.byxy.demo01.entity.Forum;
import com.byxy.demo01.service.ForumSrevice;
@Service
@Transactional
public class ForumServiceImpl implements ForumSrevice{
	@Autowired
	private ForumDao forumDao;
	@Override
	public List<Forum> findAll() {
		return forumDao.find();
	}

}
